<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-iso-8859-1">
<LINK REL="Start" HREF="index.html">
<LINK REL="Contents" HREF="toc.html">
<LINK REL="Prev" HREF="331Plotextensionmodules.html">
<LINK REL="Next" HREF="35DetailedstepstoinstallJpGraph.html">
<STYLE TYPE="text/css"><!--
BODY { font-family: serif }
H1 { font-family: sans-serif }
H2 { font-family: sans-serif }
H3 { font-family: sans-serif }
H4 { font-family: sans-serif }
H5 { font-family: sans-serif }
H6 { font-family: sans-serif }
SUB { font-size: smaller }
SUP { font-size: smaller }
PRE { font-family: monospace }
A { text-decoration: none }
--></STYLE>
</HEAD>
<BODY>
<A HREF="toc.html">Contents</A>
<A HREF="331Plotextensionmodules.html">Previous</A>
<A HREF="35DetailedstepstoinstallJpGraph.html">Next</A>
<HR NOSHADE>
<H2><A NAME="3_4">3.4 Image formats and external image libraries</A></H2>
<P> Per default the standard GD image library supports PNG graphic
 formats. You will need to have that installed together with your PHP
 module for this library to work at all. Please refer to PHP
 documentation on specifics. Note that the newer versions of GD does not
 support the GIF format due to copyright problems. Hence by default only
 PNG is supported.</P>
<P> If you want JPEG support you will also need an additional library
 for PHP, again please see PHP documentation for specifics. For most
 practical purposes PNG is a better format since it normally achieves
 better compression then GIF (typically by a factor of 2 for the types
 of images generated by JpGraph). In comparison with JPEG format PNG is
 also better for the type of images generated by this library. So, the
 bottom line is, you should have a very good reason to choose any other
 format then PNG.</P>
<P> By default the image format is set to &quot;auto&quot;. This means that
 JpGraph automatically chooses the best available graphic using the
 preferred order &quot;PNG&quot;, &quot;GIF&quot;, &quot;JPG&quot;.</P>
<P></P>
<HR NOSHADE>
<A HREF="toc.html">Contents</A>
<A HREF="331Plotextensionmodules.html">Previous</A>
<A HREF="35DetailedstepstoinstallJpGraph.html">Next</A>
</BODY>
</HTML>
